home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Demos / A.D. Software / OOFILE / PhoneControl OOFILE sample / Source / PhoneControlMain.cp < prev   
Text File  |  1995-12-09  |  672b  |  36 lines

  1. // PhoneControlMain.cp -- Main
  2. // Created 01/01/95 12:01 PM by AppMaker
  3.  
  4. #include "CPhoneControlApp.h"
  5.  
  6. #include <LGrowZone.h>
  7. #include <UDrawingState.h>
  8. #include <UMemoryMgr.h>
  9. #include <UPowerTools.h>
  10.  
  11. //----------
  12. void
  13. main()
  14. {
  15.                                     // Set Debugging options
  16. #ifdef Debug_Throw
  17.     gDebugThrow = debugAction_Alert;
  18. #endif
  19.  
  20. #ifdef Debug_Signal
  21.     gDebugSignal = debugAction_Alert;
  22. #endif
  23.  
  24.     InitializeHeap(3);
  25.     UQDGlobals::InitializeToolbox(&qd);
  26.  
  27. #ifdef Debug_Signal                    // Check for missing MBAR, which
  28.     CheckForInitialMBAR();            // probably means that there is no
  29. #endif                                // project resource file
  30.  
  31.     new LGrowZone(20000);
  32.  
  33.     CPhoneControlApp    theApp;
  34.     theApp.Run();
  35. }
  36.